package cn.rkylin.oms.system.user.dao;

import cn.rkylin.core.IDataBaseFactory;
import cn.rkylin.oms.system.user.domain.UserContact;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository(value = "userDAO")
public class UserDAOImpl implements IUserDAO {

    @Autowired
    protected IDataBaseFactory dao;

    @Override
    public List<UserContact> retrieveUserContacts(List<String> userIds) throws Exception {
        return dao.findAllList("selectUserContact", userIds);
    }

}
